#include <iostream>
#include "Common/Include/ConnectionSourceType.hpp"
#include "BusinessObj/Include/City.hpp"

using std::cout;
using std::endl;


void main(void)
{
	//Implement RTTI when using the business object to ensure the object is destoryed after the use. persistO business object will return smart pointer to avoid
	//memory leaks
	{
		auto city = Supetronix::PersistO::BO::City::getByCityID(1);
		cout << "City ID: " << city->CityID() << endl;
		cout << "City Name: " << city->CityName() << endl << endl;
	}

	cout << "end of program" << endl;
}